﻿@using Z.Nlayer.Utility.ImageUpload
<!DOCTYPE html>
<html lang="ch">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <title>纯净版会员系统 - @ViewBag.Title</title>

    <meta name="description" content="overview &amp; stats" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    <link rel="stylesheet" href="/Areas/Admin/assets/css/bootstrap.css" />
    <link rel="stylesheet" href="/Areas/Admin/assets/css/font-awesome.css" />
    <link rel="stylesheet" href="/Areas/Admin/assets/css/ace-fonts.css" />
    <link rel="stylesheet" href="/Areas/Admin/assets/css/ui.jqgrid.css" />
    <link rel="stylesheet" href="/Areas/Admin/assets/css/ace.css" class="ace-main-stylesheet" id="main-ace-style" />
    <link rel="stylesheet" href="/Areas/Admin/assets/css/bootstrap-datepicker3.css" />
    <link rel="stylesheet" href="/Areas/Admin/assets/css/bootstrap-datetimepicker.css" />
    <link href="/Areas/Admin/assets/css/fileinput.min.css" rel="stylesheet" />
    <link href="/Areas/Admin/assets/css/charts.css" rel="stylesheet" />
    @if (ViewBag.Uploadify != null)
    {
        <link href="/Areas/Admin/assets/js/uploadify/uploadify.css" rel="stylesheet" />
    }
    @RenderSection("Css", false)
    <style type="text/css">
        .datepicker {
            z-index: 1051 !important;
        }

        .ui-filter {
            padding: 0 3px;
        }

        .ui-btn-search {
            position: absolute !important;
            right: -90px;
            top: 0;
            padding: 8px 10px;
        }

        .search-group {
            margin: 5px 10px 5px 0;
            position: relative;
        }

            .search-group label {
                display: inline-block;
                line-height: 36px;
                font-size: 13px;
                text-align: right;
            }

            .search-group input, .search-group select {
                height: 38px;
            }

        .textdate {
            height: 28px;
            padding: 0px;
            margin: 0px;
        }

        .file {
            position: relative;
            display: inline-block;
            background: #D0EEFF;
            border: 1px solid #99D3F5;
            border-radius: 4px;
            padding: 4px 12px;
            overflow: hidden;
            color: #1E88C7;
            text-decoration: none;
            text-indent: 0;
            line-height: 20px;
        }

            .file input {
                position: absolute;
                font-size: 100px;
                right: 0;
                top: 0;
                opacity: 0;
            }

            .file:hover {
                background: #AADFFD;
                border-color: #78C3F3;
                color: #004974;
                text-decoration: none;
            }

        .modal {
            direction: ltr;
            overflow-y: auto;
        }

            .modal .modal-dialog {
                direction: ltr;
            }

        .modal-open {
            overflow: auto;
        }

        .bg-white {
            background-color: #fff;
            padding: 8px 20px 24px;
        }

        .modal-backdrop.in {
            opacity: 0.0 !important;
        }
    </style>
    <!-- basic scripts -->
    <!--[if !IE]> -->
    <script src="/Areas/Admin/assets/js/jquery.js"></script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script src="/Areas/Admin/assets/js/jquery1x.js"></script>
    <![endif]-->
    <script type="text/javascript">
        if ('ontouchstart' in document.documentElement) document.write("<script src='/Areas/Admin/assets/js/jquery.mobile.custom.js'>" + "<" + "/script>");
    </script>
    <script src="/Areas/Admin/assets/js/bootstrap.js"></script>
    <script src="/Areas/Admin/assets/js/bootbox.js"></script>
    <script src="/Areas/Admin/assets/js/jquery.form.js"></script>
    <script src="/Areas/Admin/assets/js/jquery.validate.js"></script>
    <script src="/Areas/Admin/assets/js/jquery.validate.expand.js"></script>
    <script src="/Areas/Admin/assets/js/date-time/bootstrap-datepicker.js"></script>
    <script src="/Areas/Admin/assets/js/date-time/moment.js"></script>
    <script src="/Areas/Admin/assets/js/date-time/bootstrap-datetimepicker.js"></script>
    <!-- ace scripts -->

    <script src="/Areas/Admin/assets/js/ace/ace.js"></script>
    <script src="/Areas/Admin/assets/js/ace/ace.sidebar.js"></script>
    <script type="text/javascript">
        var imageServerUrl = '@ProxyImageServices.ImageUploadUrl';
    </script>
    <script src="/Areas/Admin/js/Public/adminbase.js"></script>
    @if (ViewBag.imageUpload != null)
    {
        <script src="/Areas/Admin/assets/js/fileinput/fileinput.min.js"></script>
        <script src="/Areas/Admin/assets/js/fileinput/fileinput.zh.js"></script>
    }
    @if (ViewBag.getUeditor != null)
    {
        <script src="/Areas/Admin/assets/js/ueditor/ueditor.config.js"></script>
        <script src="/Areas/Admin/assets/js/ueditor/ueditor.all.min.js"></script>
        <script src="/Areas/Admin/assets/js/ueditor/ueditor.parse.min.js"></script>
        <script src="/Areas/Admin/assets/js/ueditor/lang/zh-cn/zh-cn.js"></script>
    }
    @if (ViewBag.Uploadify != null)
    {
        <script src="/Areas/Admin/assets/js/uploadify/jquery.uploadify.js"></script>
    }
    <script type="text/javascript">
        jQuery(function ($) {
            //显示错误信息
            var msg = '@TempData["ErrMsg"]';
            if (msg.length > 0) {
                TipMsg(msg);
            }
            if ('@ViewBag.AreaName'.length > 0) {
                $("#CrumbsAreaName", window.parent.document).show();
                $("#CrumbsAreaName", window.parent.document).text('@ViewBag.AreaName');
            } else {
                $("#CrumbsAreaName", window.parent.document).hide();
            }
            if ('@ViewBag.ModuleName'.length > 0) {
                $("#CrumbsModuleName", window.parent.document).show();
                $("#CrumbsModuleName", window.parent.document).text('@ViewBag.ModuleName');
            } else {
                $("#CrumbsModuleName", window.parent.document).hide();
            }
            if ('@ViewBag.ModuleActionName'.length > 0) {
                $("#CrumbsModuleActionName", window.parent.document).show();
                $("#CrumbsModuleActionName", window.parent.document).text('@ViewBag.ModuleActionName');
            } else {
                $("#CrumbsModuleActionName", window.parent.document).hide();
            }
        });
    </script>
    @RenderSection("Js", false)
</head>
<body class="no-skin bg-white">
    @RenderBody()
</body>
</html>
